<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
    <title>后台首页</title>
    <link rel="stylesheet" href="__BOOTSTRAP__/css/bootstrap.css" />
    <link rel="stylesheet" href="__BOOTSTRAP__/css/bootstrap-rtl.css?ver=321" />
    <link rel="stylesheet" href="__LAYER__/skin/default/layer.css?ver=4" />
    <script type="text/javascript" src="__JQUERY__/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="__BOOTSTRAP__/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="__LAYER__/layer.js" ></script>
    <script type="text/javascript" src="__JQUERY__/nur.js?ver=13"></script>
    <script type="text/javascript">
        $(function () {
            $(".photo_tuku img").click(function () {
                var src=$(this).attr("src");
                $("#thumb",window.parent.document).val(src);
                $("#thumbface",window.parent.document).show();
                $("#thumbface",window.parent.document).attr("src",src);
                var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
                parent.layer.close(index);
            });
        })
    </script>
    <style>
        ul{
            margin-top: 20px;
            list-style: none;
            padding: 0;
        }
        ul li a{
            padding: 0!important;
            cursor: pointer;
        }
        ul li a img{
            width: 100%;
            height: 150px!important;
        }
    </style>
</head>
<body style="background-color: #444">
     <div>
         <ul class="photo_tuku">
             <foreach name="photo" item="l">
                 <li class="col-md-2 col-sm-3 col-xs-6"><a class="thumbnail"><img  src="/{$l.thumb|_strpos}"/></a></li>
             </foreach>
         </ul>
     </div>
</body>
</html>